package com.qzgf.application.appsystem.menu.domain;

import java.util.HashMap;
import java.util.List;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

import com.qzgf.core.dao.BaseSqlMapDAO;

/**
 * 首页
 * 
 */
public class MenuFacadeImpl implements MenuFacade { 
	//常量定义
	private static final Log logger = LogFactory.getLog(MenuFacadeImpl.class);
	
	private BaseSqlMapDAO baseSqlMapDAO;
	 
	public List findMenu(HashMap map){
		List ls = baseSqlMapDAO.queryForList("User.findUser", map);
		return ls;
	}
	
	public  int findMenuCount(HashMap map){
		int count=(Integer)baseSqlMapDAO.queryForObject("User.findUserCount", map);
		return count;
	}


	//=============================常量设置=================================
	
	public BaseSqlMapDAO getBaseSqlMapDAO() {
		return baseSqlMapDAO;
	}

	public void setBaseSqlMapDAO(BaseSqlMapDAO baseSqlMapDAO) {
		this.baseSqlMapDAO = baseSqlMapDAO;
	}

 
	
}
